package com.jobboard.auth.domain.service;

import com.jobboard.auth.domain.entity.AuthPermissionBO;

import java.util.List;

public interface AuthPermissionDomainService {

    /**
     * 新增权限
     */
    Boolean add(AuthPermissionBO authPermissionBO);

    /**
     * 修改权限
     */
    Boolean update(AuthPermissionBO authPermissionBO);

    /**
     * 删除权限
     */
    Boolean delete(AuthPermissionBO authPermissionBO);

    /**
     * 查询用户权限
     */
    List<String> getPermission(String userName);
}
